<?php echo $this->getHtml()->tag('div', array(), '近期文档：'), "\n"; ?>
<?php
$this->widget(
	'library\widgets\TableBuilder',
	array(
		'columns' => array(
			'post_title',
			'category_id' => array(
				'attributes' => array(
					'width' => '8%',
					'nowrap' => 'nowrap'
				),
				'callback' => array($this->util->getForm('Categories', 'post'), 'getNameById')
			),
			'admin_id' => array(
				'attributes' => array(
					'width' => '6%',
					'nowrap' => 'nowrap'
				),
				'callback' => array($this->util->getForm('Admins', 'admin'), 'getLoginNameById')
			),
			'is_html' => array(
				'attributes' => array(
					'width' => '6%',
					'nowrap' => 'nowrap'
				),
				'callback' => array($this->util->getForm('Posts', 'post'), 'getIsHtmlLabel')
			),
			'post_status' => array(
				'attributes' => array(
					'width' => '6%',
					'nowrap' => 'nowrap'
				),
				'callback' => array($this->util->getForm('Posts', 'post'), 'getPostStatusLabel')
			),
			'access_count' => array(
				'attributes' => array(
					'width' => '2%',
					'nowrap' => 'nowrap'
				)
			),
			'dt_created' => array(
				'attributes' => array(
					'width' => '13%',
					'nowrap' => 'nowrap'
				)
			),
			'dt_modify' => array(
				'attributes' => array(
					'width' => '13%',
					'nowrap' => 'nowrap'
				)
			),
			'post_id' => array(
				'label' => 'ID',
				'attributes' => array(
					'width' => '1%',
					'nowrap' => 'nowrap'
				)
			)
		),
		'form' => $this->util->getForm('Posts', 'post'),
		'data' => $this->data,
		'page' => $this->page
	)
);
?>

